package com.javasm.service;

import com.javasm.entity.AdminUser;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @version 0.1
 * @className: UserService
 * @description:
 * @author: gfs
 * @date: 2025/6/26 9:51
 * @since: jdk17
 */
public interface UserService {

    //查询分段记录
    List<AdminUser> listUser( AdminUser inputUser,Integer page,Integer pageSize);

    //统计总记录数
    Integer countUser( AdminUser inputUser);
    //添加用户
    Integer insertUser(AdminUser inputUser);

    //修改用户
    Integer updateUser(AdminUser inputUser);

    //删除用户
    Integer deleteUser(List<Long> listUid);

    //修改用户权限
    Boolean updateUserAuth(List<Long> listMid,Long uid);


}
